import rxAjax from '@/assets/js/ajax.js';

const SysTreeApi = {};

SysTreeApi.baseUrl= '/api-system/system/core/sysTree';

SysTreeApi.getByAliasCatKey = function (alias, catKey) {
  let url = SysTreeApi.baseUrl + '/getByAliasCatKey?alias=' + alias + '&catKey=' + catKey;
  return rxAjax.get(url);
}

export default SysTreeApi;
